#define _CRT_SECURE_NO_WARNINGS
//strcpyʵ
#include<stdio.h>
void my_strcpy(char a[], char b[])
{
	int i = 0;
	while (a[i] != '0')
	{
		i++;
	}
	int j = 0;
	while (b[j] != '0')
	{
		a[i++] = b[j++];
	}
}

int main()
{
	char a[40] = "hello,word";
	char b[20] = "i love china";
	my_strcpy(a, b);
	printf("%s",a);
	return 0;
}